<?php

class JuncaoModel {
	
	private $id;
	
	private $descricao;
	
	public function __construct() { }
	
	public function getId() {
		return $this->id;
	}
	
	public function setId($id) {
		$this->id = $id;
	}
	
	public function getDescricao() {
		return $this->descricao;
	}
	
	public function setDescricao($descricao) {
		$this->descricao = $descricao;
	}
	
	public function toJSONObject() { 
		return array(
			"id" => $this->id,
			"descricao" => $this->descricao
		);
	}	
}
?>